<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String pkCl=request.getParameter("pkCl");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="<%=path%>/css/main.css" rel="stylesheet" type="text/css" />
		<script src="<%=path %>/js/jquery-1.4.4.js" type="text/javascript"></script>
		<script language="javascript" type="text/javascript" src="<%=path%>/calendar/WdatePicker.js"></script>
		<script language="JavaScript" type="text/javascript" src="<%=path%>/js/caltimer.js"></script>
		
		<script type="text/javascript">
			var pkCl="<%=request.getParameter("pkCl")%>";
			function initValue(){
				var code=parent.document.getElementById(pkCl+"-code").value;
				document.getElementById("code1").value=code; 
				var name=parent.document.getElementById(pkCl+"-name").value;
				document.getElementById("name1").value=name; 
			}
			
			function clickOk(){
				var status=document.getElementById("status1").value; 
				parent.document.getElementById(pkCl+"-status").value=status;
				var validdate=document.getElementById("validdate1").value; 
				parent.document.getElementById(pkCl+"-validdate").value=validdate;
				parent.hideMe();
			}
		</script>
	</head>

	<body class="innerpage" onload="initValue()">
		<form  >
			<table width="400" border="0" class="poptable" cellpadding="0"
				cellspacing="0" align="center">
				<tr>
					<td width="100" align="right">资质分类编码：</td>
					<td class="innertext">
						<input id="pk_qacode" type="hidden" class="textinput"  value="" readonly="readonly"/>
						<input name="code"  id="code1" type="text" class="textinput" readonly="readonly"/>
						<span class="needfill">*</span>
					</td>
				</tr>
				<tr>
					<td class="innertext" align="right">专业资质分类名称：</td>
					<td class="innertext">
						<input name="name" id="name1" type="text" class="textinput" readonly="readonly"  />
						<span class="needfill">*</span>
					</td>
				</tr>
<!--				<tr>-->
<!--					<td class="innertext" align="right">资质分类状态：</td>-->
<!--					<td class="innertext">-->
<!--						<select name="qastatus" id="status1" class="textinput">-->
<!--							<option>---请选择状态---</option>-->
<!--							<option value="1">合格</option>-->
<!--							<option value="2">不合格</option>-->
<!--							<option value="3">潜在</option>-->
<!--						</select>-->
<!--						<span class="needfill">*</span>-->
<!--					</td>-->
<!--				</tr>-->
<!--				<tr>-->
<!--					<td class="innertext" align="right">合格有效期至：</td>-->
<!--					<td class="innertext">-->
<!--						<input name="date" id="validdate1" type="text" class="textinput_date"-->
<!--							onclick="WdatePicker()" readOnly class="textstyle" />-->
<!--						<span class="needfill">*</span>-->
<!--					</td>-->
<!--				</tr>-->
			</table>
			<div class="cbuttonrow">
				<p align="center">
					<input type="button" class="buttonok" value="确定"  onclick="clickOk()"/>
					<input type="button" class="buttoncan" value="取消" onclick="parent.hideMe();" />
				</p>
			</div>
		</form>
	</body>
</html>
